.class LPkUwx/Axwse/EwidO/JLZYQ;
.super LPkUwx/Axwse/EwidO/ZVixI;


# instance fields
.field private bEnjr:Z

.field final synthetic ktWLY:LPkUwx/Axwse/EwidO/jGscw;


# direct methods
.method private constructor <init>(LPkUwx/Axwse/EwidO/jGscw;)V
    .locals 1

    iput-object p1, p0, LPkUwx/Axwse/EwidO/JLZYQ;->ktWLY:LPkUwx/Axwse/EwidO/jGscw;

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, LPkUwx/Axwse/EwidO/ZVixI;-><init>(LPkUwx/Axwse/EwidO/jGscw;LPkUwx/Axwse/EwidO/sOSTJ;)V

    return-void
.end method

.method synthetic constructor <init>(LPkUwx/Axwse/EwidO/jGscw;LPkUwx/Axwse/EwidO/sOSTJ;)V
    .locals 0

    invoke-direct {p0, p1}, LPkUwx/Axwse/EwidO/JLZYQ;-><init>(LPkUwx/Axwse/EwidO/jGscw;)V

    return-void
.end method


# virtual methods
.method public SxPEt(LwFZra/UulfZ;J)J
    .locals 6

    const/4 v5, 0x1

    const-wide/16 v0, -0x1

    const-wide/16 v2, 0x0

    cmp-long v2, p2, v2

    if-gez v2, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "byteCount < 0: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-boolean v2, p0, LPkUwx/Axwse/EwidO/JLZYQ;->wwuzU:Z

    if-eqz v2, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    iget-boolean v2, p0, LPkUwx/Axwse/EwidO/JLZYQ;->bEnjr:Z

    if-eqz v2, :cond_2

    :goto_0
    return-wide v0

    :cond_2
    iget-object v2, p0, LPkUwx/Axwse/EwidO/JLZYQ;->ktWLY:LPkUwx/Axwse/EwidO/jGscw;

    invoke-static {v2}, LPkUwx/Axwse/EwidO/jGscw;->HVJxM(LPkUwx/Axwse/EwidO/jGscw;)LwFZra/OeMtE;

    move-result-object v2

    invoke-interface {v2, p1, p2, p3}, LwFZra/OeMtE;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v2

    cmp-long v4, v2, v0

    if-nez v4, :cond_3

    iput-boolean v5, p0, LPkUwx/Axwse/EwidO/JLZYQ;->bEnjr:Z

    invoke-virtual {p0, v5}, LPkUwx/Axwse/EwidO/JLZYQ;->JWIOI(Z)V

    goto :goto_0

    :cond_3
    move-wide v0, v2

    goto :goto_0
.end method

.method public close()V
    .locals 1

    iget-boolean v0, p0, LPkUwx/Axwse/EwidO/JLZYQ;->wwuzU:Z

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-boolean v0, p0, LPkUwx/Axwse/EwidO/JLZYQ;->bEnjr:Z

    if-nez v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, LPkUwx/Axwse/EwidO/JLZYQ;->JWIOI(Z)V

    :cond_1
    const/4 v0, 0x1

    iput-boolean v0, p0, LPkUwx/Axwse/EwidO/JLZYQ;->wwuzU:Z

    goto :goto_0
.end method
